package yhao.infra.feature.alipay.core.request;

import yhao.infra.feature.alipay.core.BaseAliPayRequest;

public abstract class BasePayRequest<T> extends BaseAliPayRequest<T> {
    private String total_amount;//订单金额
    private String subject;//订单标题
    private String body;//描述信息
    private String notifyUrl;//回调地址，如果为空则使用默认

    public BasePayRequest(String out_trade_no, String total_amount, String subject, String url) {
        super(out_trade_no);
        this.total_amount = total_amount;
        this.subject = subject;
        this.notifyUrl = url;
    }

    public String getTotal_amount() {
        return total_amount;
    }

    public String getSubject() {
        return subject;
    }

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }

    public String getNotifyUrl() {
        return notifyUrl;
    }
}
